
****************
Read me
****************

This read me describes how to run the analysis for the paper 
'Dishonesty and Justifications: Evidence from the Second Roll of a Dice Game'
which was accepted for publication at the Journal of Behavioral and Experimental Economics. 

The work is joint with Ying-yi Hong (https://www.yingyihong.org/) 
I am Paul Clist, and my website is https://paulclist.github.io/ 

Experiment 2 was preregistered: see 
https://www.socialscienceregistry.org/trials/3547 

Data and code repository: 
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/OXOGY3 

The do file "read me runs all.do" should run all relevant code, and requires you to do 3 things. 
    1. Download all of the files from the repository and save them in one folder.  
    2. open "read me runs all.do" and edit line 30, telling stata where you've saved these files.
    3. Do all. 

Optionally, you can comment out section 0.b (lines 34-44) which tell stata to install some user written commands. I have tried to provide 

I have provided all of the user written commands' ado files in a folder called ado, which should mean you can reproduce everything, even if there are future changes. You just need to tell stata to look for the ado files using code like 
adopath ++ "/ado"
after you've given the working folder. 

The structure of folders should be clear - data, code and outputs are in the implied folders. Outputs are either latex tables, or pdf figures. 

The do files are named according to the figure or table they relate to, and outputs are also named in an unimaginative fashion. 

The do files for fitting models (KS, DD) may be a touch confusing. They call other do files where those models are saved. Each model has two do files - one for cases where we're fitting against 1 roll, and another where we're fitting for both rolls. I also follow K&S in calculating the MSE, which is a touch confusing as they use both percentages and fractions in their code, which can lead to some confusion. 

If you find any errors, please do let me know. My email is (currently) paul dot clist at uea.ac.uk. 
Thanks for your interest in the work. 
